package flexo.physic.collision;

import flexo.math.Vector;

public class Plane extends Shape
{
	public float offset;
	public Vector normal;
	
	public Plane()
	{
		super(CollisionDetector.ShapeType.Plane);
		normal = new Vector(0,1,0);
	}
	
	public Plane(Vector normal, float offset)
	{
		super(CollisionDetector.ShapeType.Plane);
		this.normal = new Vector(normal);
		this.offset = offset;
	}
}
